package com.pojo;

import java.math.BigDecimal;
import java.sql.Date;

public class Bill {
    private Integer id;
    private Integer billCode;
    private String productName;
    private String unit;
    private Integer number;
    private BigDecimal totalPrice;
    private String providerName;
    private Integer isPayment;
    private Date creationDate;
    private Integer pid;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Bill(Integer id, Integer billCode, String productName, String unit, Integer number, BigDecimal totalPrice, String providerName, Integer isPayment, Date creationDate, Integer pid) {
        this.id = id;
        this.billCode = billCode;
        this.productName = productName;
        this.unit = unit;
        this.number = number;
        this.totalPrice = totalPrice;
        this.providerName = providerName;
        this.isPayment = isPayment;
        this.creationDate = creationDate;
        this.pid = pid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBillCode() {
        return billCode;
    }

    public void setbillCode(Integer billCode) {
        this.billCode = billCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public Integer getIsPayment() {
        return isPayment;
    }

    public void setIsPayment(Integer isPayment) {
        this.isPayment = isPayment;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Bill() {
    }
}
